package org.com.yz.dal.dao.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.com.yz.dal.dao.model.BankCard;
import org.com.yz.dal.dao.model.BankCardBin;
import org.com.yz.dal.dao.model.MchsubBindBankCard;
import util.MyMapper;

import java.util.List;

/**
 * <p>
 * 银行卡信息表 Mapper 接口
 * </p>
 *
 * @author wzc123
 * @since 2018-07-16
 */
public interface BankCardMapper  extends MyMapper<BankCard> {

     Integer  undateMac(BankCard bankCard);

     Integer deleteTracNo(BankCard bankCard);

     Integer  undateNoSuess(BankCard bankCard);

     List<BankCard> selectNoSuccess();

     List<BankCard> selectBankCard(BankCard bankCard);

     BankCard selectBankCardInfo(@Param("mchNo") String mchNo, @Param("cardNo")String cardNo, @Param("mchAccntNo")String mchAccntNo, @Param("accntType")String accntType);

     BankCardBin getBankCardBinByCardBin(@Param("bankCardBin") String bankCardBin);

     List<BankCardBin> getBankCardBinByBankName(@Param("bankName") String bankName);
}
